/*
 * Copyright (c) 2017 5utrip.com. All Rights Reserved.
 */
package com.guoyu.project.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.guoyu.project.common.utils.ImageURLSerialize;

/**
 * Banner banner信息
 *
 * @author: xblibo Tue Apr 11 14:50:51 CST 2017
 * @version 1.0.0
 */
public class Banner extends BaseModel {
    /**
     * banner说明
     */
    private String title;
    /**
     * 简介
     */
    private String summary;
    /**
     * 图片
     */
    @JsonSerialize(using = ImageURLSerialize.class)
    private String image;

    /**
     * 背景颜色
     */
    private String bgColor;

    /**
     * 连接
     */
    private String link;

    /**
     * 排序,用于显示
     */
    private int displayOrder;

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setBgColor(String bgColor) {
        this.bgColor = bgColor;
    }

    public String getBgColor() {
        return bgColor;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getLink() {
        return link;
    }

    public int getDisplayOrder() {
        return displayOrder;
    }

    public void setDisplayOrder(int displayOrder) {
        this.displayOrder = displayOrder;
    }
}
